/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jam.sfcc.application;

import java.awt.Graphics;
import javax.swing.ImageIcon;
import javax.swing.JPanel;

/**
 *
 * @author Marlon
 */
public class PanelEncabezados extends JPanel {

    public PanelEncabezados() {
    }

    @Override
    public void paintComponent(Graphics g) {
        
        ImageIcon imagenFondo = new ImageIcon(".\\src\\jam\\sfcc\\application\\resources\\FondoEncabezados.jpg");
        
        g.drawImage(imagenFondo.getImage(), 0, 0, getWidth(), getHeight(), this);
        setOpaque(false);
        super.paintComponent(g);

    }
}
